﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Web;

/// <summary>
/// Class_Permission_Info 的摘要说明
/// </summary>
[DataContract(IsReference = true)]
[KnownType(typeof(Class_Permission_Info))]
public class Class_Permission_Info
{
    private int id;

    private string perm_code;

    private string dllname;

    private byte[] dll;

    private string function;

    private byte[] functionImage;

    private string version;

    private string ismainfrom;


    /// <summary>
    /// 主键
    /// </summary>
    [DataMember]
    public int Id
    {
        get { return id; }
        set { id = value; }
    }

    /// <summary>
    /// 权限的代码
    /// </summary>
    [DataMember]
    public string Perm_code
    {
        get { return perm_code; }
        set { perm_code = value; }
    }

    /// <summary>
    /// 动态类库的名称
    /// </summary>
    [DataMember]
    public string DllName
    {
        get { return dllname; }
        set { dllname = value; }
    }

    /// <summary>
    /// 动态类库
    /// </summary>
    [DataMember]
    public byte[] Dll
    {
        get { return dll; }
        set { dll = value; }
    }

    /// <summary>
    /// 功能函数名称
    /// </summary>
    [DataMember]
    public string Function
    {
        set { function = value; }
        get { return function; }
    }

    /// <summary>
    /// 图标
    /// </summary>
    [DataMember]
    public byte[] FunctionImage
    {
        set { functionImage = value; }
        get { return functionImage; }
    }

    /// <summary>
    /// 版本号
    /// </summary>
    [DataMember]
    public string Version
    {
        set { version = value; }
        get { return version; }
    }

    /// <summary>
    /// 是否是主界面 0是 1否
    /// </summary>
    [DataMember]
    public string Ismainfrom
    {
        get { return ismainfrom; }
        set { ismainfrom = value; }
    }
}